<?php
/**
 * DouPHP小程序模块
 * Author: cuihaifeng  qq 366131726 微信同号
 * 网址：www.zbxingke.com www.0533hf.com
 */
defined('IN_DOUCO_API') or exit('Access Denied');



load()->func('cache.' . CACHE);

function cache_load($key, $unserialize = false) {
	global $_W;
	if (!empty($_W['cache'][$key])) {
		return $_W['cache'][$key];
	}
	$data = $_W['cache'][$key] = cache_read($key);
    return $unserialize ? iunserializer($data) : $data;
}


function &cache_global($key) {
	
}
